wayland: Emit ::direction-changed when appropriate
authorMatthias Clasen <mclasen@redhat.com>
Thu, 4 Apr 2013 03:52:52 +0000 (23:52 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 4 Apr 2013 03:52:52 +0000 (23:52 -0400)
commit246f32a58d45febee12d8441702530090d52e6ab
treefc2cae601a5a0e4bec86e3bbd4a739783e21a10c
parent2f8f1ef485e4d0a48dd7acad00cdbd6e6b5d25b8
wayland: Emit ::direction-changed when appropriate

We always emit direction-changed when we get a new keymap, but
for state changes, we compare old and new direction and only
emit the signal when the direction actually changes.
gdk/wayland/gdkdevice-wayland.c